|
|
Cousin Ricky wrote:
> stbenge <THI### [at] hotmailcom> wrote:
>> #declare V=V+1/100;
>
> Do you often use fractional loop counters?
Yes, that's my automatic way of laying out a loop. I do this because
variables which go from 0 to 1 are easier to implement in color_maps and
sin/cos statements. It wasn't needed for this particular loop, but since
POV-Ray treats all variables as floats, I can't see how it could harm
things. I should have made it different so the code was easier to read,
but like I said, I'm on automatic when writing code sometimes ;)
> Lovely pattern.
Thanks!
Sam
Post a reply to this message
|
|